package com.rzjm.exercise.module.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@TableName("events_record_rewards")
public class EventsRecordRewards implements Serializable {
	private static final long serialVersionUID = 1L;
	//主键
	@TableId(value = "id",type = IdType.AUTO)
	private Integer id;
	private Integer recordId;
	private Integer userId;
	private Integer sysUserId;
	private Integer deptId;
	private Integer opType;
	private String isRelation;
	private BigDecimal opMoney;
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	@TableField(exist = false)
	private String sectionContent;
	@TableField(exist = false)
	private String typeChildName;
	//去掉会变成小写
	@JsonProperty("uName")
	@TableField(exist = false)
	private String uName;
	@TableField(exist = false)
	private BigDecimal chengfa;
	@TableField(exist = false)
	private BigDecimal jiangli;
	@TableField(exist = false)
	private String deptName;
	@TableField(exist = false)
	private List<EventsRecordImg> imgList;
	@TableField(exist = false)
	private List<EventsRecordImg> handleImgList;
}
